Shouldn't this use $this->entity_manager?