Use invoke method rather than statement

To make the intention clear that a method invocation is added to the
block rather than just a statement, use the block's invoke method rather
than block's add method.