hacked the parser so it can recognise the implements keyword