Corrected all PHPDoc comments in source code to match the function signatures in order to make code completion in IDEs work. Works for me now in PHPStorm. Also corrected some incorrect class names.