Remove unused function and reformated with PEP8.