Added missed function.