Fixing a bug where you couldnt access top level properties.