Remove indentation issues and change method from instance to class.