Added more PHPDoc so it'll be easier to read