Adds styles for references.