allow pasring without collapsing inner classes