Adding MapOptionsScriptBodyFactory class