Updated getId, setId methods.
Added dispatch method.
Example project.