Fix an issue where services were not implied by references