Uncommented checkRequiredBuildings() call.