Added a method that was accidentally removed.