Adding service classes and methods.