Simplify core_validation() method.