[REFACTORING]Define Guide::Reference::TYPE and use it to define some attribute methods of Guide
Initialize type attributes of Guide in #initialize to suppress warnings that instance variable is not initialized
Initialize @references of Guide in #initialize