Type Hinting improvements

Gives valid type hints for methods
Also fixes a use statement for a nonexisting class in BulkSaver.php