Added a NamedMultiton class which automatically converts the key to a proper string representation