Fix context for promising() functions.