Remove warnings to compensate for RSpec bug