Yoshi can spit the key out after entering a keyhole in the SNES game. This was removed from the Game Boy Advance game.
Contributed by Kakariko Kid