Implemented some ObjectId referencing