Adding an interface to be implemented by an enum