Move service definition to the bottom