Improved/corrected phpdocs, better IDE typehinting