defservice macro