Removing unneeded gems and wp core tasks.