Detach items from master pages.