#1001 Use only one removeAttr function on .destroy() method. #1046 Update documentation.