updated extensions for nice enum operator