PHPDoc fixes in core-functions