Adhere to pythons coding style
Removed unnused, redundant function.