Correcting @var description in docblocks
Making code improvements
Removing check on IN_PHPBB in case of namespaces
Adding docblock for the constructor