Reference text changes
Code fixes