Added ranges parsing.