Refactor _apply to AppliedReturnType and using new alias syntax.