Fix definition of class methods in lib/whitehall.rb