Add check to remove the nest method when upgraded to 1.5