Added visibility and permissions property