nodoc enum hooks [ci skip]