Fixed up permissions. Also, added class_type and format_name columns to bioentity table.