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