Add "getLogs" method
Unused fields removed