Removed an unused dependency, and corrected the ajax method type option