Fix definition check.