Reduced dependencies on RGB class in services plugin.