Fix method name for enum attributes