Using standard callbacks now, supports lambdas