Convert chained methods to block