Add conditional compilation so that steps can be used with or without Core Data