Fix some phpdoc errors and rename interface