Fixes for CKAN.