Add readonly constraint to the mapping variable