Utility for creating chainable methods and fluent interfaces