Removed partially implemented function

Left over from when I was adding support for enums.