Applied new formatting and documentation rules to misc module.