Added range support with methods and classes