Move functions to namespace.