Implement most of the functionality for resolver hooks (FELIX-2986) along with some other changes for R4.3 API (FELIX-2950).