Remove unused dev and optional deps