Added API version checking for horses