Big changes in api to support prettier parameters syntax