Make sure styles are also copied.