Fix PEP-8 violations in spotlight API code.