Misc fixes for the API docs

also:
- removes unused members such as `IsEncrypted` or `getOperationList`;
- refactors result returned by getTextContent;
- cleanup on destroy.