Fix error in theme pass: services are not accessible.