removed depreceted method; after php-linting
removed unused property; after php-linting
updated documentation