Clean up unused code. Make Ruby code meet community standards.