Electronic structure of heavily doped graphene: The role of foreign atom states