First iteration of functions and documentation.