Allows flash message arrays
Sets standard type if no type is selected