Use method chaining to clean up some code.