[core] remove unused method