Refactored conditionals.