Conditional compilation of visualization stuff