Added the QP function for quick and safe path referencing.