farming: Add API to register plants