Updated with new RoleObjectContract syntax.