Added support for toggling Model and Schema, and added support for primitives in StatusCodeView