Add support for fragments, and fix name change bug