Clean up fragment code