Renamed camel-cased methods to snakecase.

To comply with Ruby coding conventions.