Add parameter type to the function doc
implement functionalities required by the goals page