Implement missing methods on entity manager/repository.

SDUX-42