Updated for Omeka 2.0