Implemented remove_reference in config.hpp