Was just trying to use the pattern from here: https://github.com/edx/edx-platform/blob/opaque-keys/lms/djangoapps/courseware/model_data.py#L245

I can remove it if unncessary.