Fixes deprecation warning and bumps version

The Atom deprecation cop was giving me a warning so I thought I would fix it.