Fix for flaggable types not being stored.