Changed methods to be static.