Fixed issue with replacing content;
Documented public methods;