Updates for security fix that will actually work with a gem.