Implement names(), closes #13.