Improve behind the scene design pattern for chaining