Add ReferenceFrame enum instead of using strings.