Added map prototype