Improve internal documentation, description and naming conventions used in the module.