updated compile example with new syntax
fixed patch to extend processing constructor correctly including static methods