Isolated code into different functions and namespaces.