Move inspector functions to WebApplication