Fixing the type of the value for writeHandlerMap as it is incorrect.