Add functions, notify after command finished.