Extend training functionality