Alias & Aka: Add memory and nesting limits. Closes GH-525.