Added forget documentation and remove variable not used.