Removed unnecessary and updated some dependencies.