Fixes error in module documentation

Resolves #994