add static `resolve`; move aliases `of` and `wrap` to that