with_options() class method