misc: removed unused code.