Added some basic checking for unintended alias variables