Document arguments and returns of functions