Added a fluent API for replacing method calls