if ( klass == null ) throw new ApiUsageException( "Class argument to find cannot be null." );
    public IObject find(@NotNull final Class klass, final long id)    {        if ( klass == null )            throw new ApiUsageException(                    "Class argument to find cannot be null."                    );                return (IObject) getHibernateTemplate().execute(new HibernateCallback() {            public Object doInHibernate(Session session)                    throws HibernateException {                IObject o = (IObject) session.get(klass,id);                 Hibernate.initialize(o);                return o;                                            }        });    }