Added spatial fields to the API