Adding a status_index global accessor in the code class.