Use separate methods to make sanity checks.