Add MapAction prototype plugin code