class methods moved to already defined class << self block