Adds essential enum implementation