[BUG #7859] added optional context argument to create()