fix(strict): set service method as static (closes #4921)