<T> T findById(Serializable id, Class<T> type);
<T> T findById(Serializable id, Class<T> type, Class<T> domainType);
<T> T add(T objectToAddTo, Map<String, Long> values);
<T> T add(T objectToAddTo, String binName, int value);
<T> T append(T objectToAppenTo, Map<String, String> values);
<BUG><T> T append(T objectToAppenTo, String binName, String value);
<T> Iterable<T> aggregate(Filter filter, Class<?> type, Class<T> outputType, String module, String function, List<?> arguments);</BUG>
int count(Query<?> query, Class<?> javaType);
<T> T execute(KeyValueCallback<T> action);
<T> Iterable<T> findAll(Sort sort, Class<T> type);

<T> T findById(Serializable id, Class<T> type);
<T> T findById(Serializable id, Class<T> type, Class<T> domainType);
<T> T add(T objectToAddTo, Map<String, Long> values);
<T> T add(T objectToAddTo, String binName, int value);
<T> T append(T objectToAppenTo, Map<String, String> values);
<T> T append(T objectToAppenTo, String binName, String value);
<T> T prepend(T objectToAppenTo, Map<String, String> values);
<T> T prepend(T objectToAppenTo, String binName, String value);
<T> Iterable<T> aggregate(Filter filter, Class<?> type, Class<T> outputType, String module, String function, List<?> arguments);
int count(Query<?> query, Class<?> javaType);
<T> T execute(KeyValueCallback<T> action);
<T> Iterable<T> findAll(Sort sort, Class<T> type);
