Added a `serialVersionUID` to suppress a warning.
Flipped the order of some arguments for clarity.