Added more stuff to register a sprinkler