Rearranged to comply to PEP8.