remove unused class definition from generated service template