specify dependency in gemspec.
Object#to_parser should raise a TypeError.