Fixed missing implementation of Registry.unregister in LocalStatementRegistry