Refined core/service/ServiceManagement.php