+1 for that
Initially I wanted to put this method in the atoms part of the project, but then I changed my mind :)