Added comments to module method .next and function parameters

Signed-off-by: Tobias Sjondin <tsjondin@op5.com>