Can we make this method return the enum instead?