Fixed ClassCast by adding absent empty interface implementation

Have absolutely no idea why it 1) has been working successfully before, and 2) have broke after my harmless changes