Add missing implementation of get_functions