This way we avoid code duplication.