cleared all deprecation warnings of rspec, renamed language method