Add documentation to functions in evaluate