[Minor] changed map declaration to be its interface