Made public API chainable.