More work on fragments.