can you please define the two methods as `def self.` rather than this `extend self`?