Add the execute and invoke methods