Initialize Doctrine objects after construction