Added method to get atom names.