Put class methods and object methods into separate namespaces.