improved templates native phpdoc support