This check can be hardcoded into the methods for speedups.