Use private methods to DRY things up.