Updated to PEP 8 standard style.