Fix for methods not being chainable