Support limit for history.get.
exists? aliases.
Cleanup.