$orm assignment moved into the constructor as a dependency