# Why? :present_credential and :mk_credential are the same function, bar the "new_x"and "fetch_x" named anonymous functions within the implementation bodies. It's better for maintainability to follow DRY. # What? - [x] Unify those into one function with a wrapper.