Fix params to dictionary. #38