Only set params if there are some