Change code to be compliant with PEP 8

This change camel cased functions for underscored function names and
properties.