Allow user to set require flags in closeable-warnings