Changed API to accept all parameters RESTful compatibly.