Remove some unecessary dependencies

Thanks to @theomn