Interface for FunctionRepository