Trying to implement resolve, but it's trying to resolve handles to
polymorphic functions

I might need to deal with those first. :/