Added the necessary method.