Make identity interface agnostic