Add name resolution for formal type parameters