Moving methods to a global scope