No point in repeating this check over multiple classes.