[coretasks] Tweak to use Nick class
[core] Fix missing import and unusual encoding error with examples