Pass CommandLocals to InvokeHandler.

Version set to 3.1.1-SNAPSHOT.