Add valid_numerals method