Took out legacy code

Signed-off-by: license2e <ilya@shindyapin.com>