This is a good start. We can actually go a step further now @cmfcmf has merged a BC/FC patch for parameters which can be passed in the method declaration.