Add overload to accept numeric ranges. Resolves #4.