Inspector rewritten.