Added readonly flag for attributes