Code block cleanup and fix failure to render.