First pass at adding a create_notice_type free function for backward
compatibility