Add Enum support to CodePieces.constant