Added ability to define farms.