Return values and PHPDoc adjustments

- Changed the return values of several methods. They now return $this instead of void.
- Updated PHPDoc where needed. Also resolves autocompletion issues in IDE's like PHPStorm.