Fix scoping issues. Rename internal properties for classes to have a leading underscore instead of a leading dollar sign. All special contextual properties / variables have a leading dollar sign.