Make compatible with CKAN 1.8