fix RubyClass.requires, move/change Template