remove functions that are not defined in specs from builtins