Add fired and promise functions.