Made function.hpp able to be included on its own