Trying to implement dynamic service API