Add optional context parameter

To set as the context in the resolved callback function