extract dump type constant
registration separated from menu creation