Renamed static getValidServices to non-static