Add function wrapper
Add value parameter to writePermission on Omni.Models, add disconnect and connect events