Fixed bug that allowed shadow declarations, and variables named with reserved words.