Why removing the uses statement? Then you need to at least add it at the top of the file to avoid fatals here due to missing classes.