Minor changes to appendStyle.