Added private flag and then added a constructor to stop the JSON marshaller acting on the service that was injected.