Please to use CategoryInterface and update php doc ;)