Add security checks to resolver methods.