Make atoms handling more extensible.
Use XInternAtoms to reduce round trips.