Handle params correctly.