The state land planning agency and any ad hoc working groups appointed by the department and all state and regional agencies involved in the administration and implementation of the Community Planning Act shall cooperate and work with units of local government in the preparation and adoption of comprehensive plans, or elements or portions thereof, and of local land development regulations.