Removing deprecation messages

This removes the most deprecation messages that were displayed when I run the specs.