Make expanding/collapsing signatures and citations local to them