Bugfixes, changed params to data to allow non-get methods to work again correctly. Removed a syntax error on line 534