Updated package file for new Atom API
Updated specs and fixed bug