Added entity manager