Added use statement and added api phpdoc