More pretty way of specify Method and params, minor bug fix