Support for atom in callbacks