Works with Python 2 and 3. PEP8 compliance.