Restore class attribute for Map

This is because there are S3 methods for Map.
Faster Map implementation