[5.0] Restore abort method on Foundation/Application

This should be the FQCN.