Same issue here. On top of this, the handler code is inserted between implementation keyword and uses list.
implementation
uses