Fixed incorrect parameter name in docs.
Fixed incorrect parameters in GetVariable().
Trying to fix Mac build which seems to not like an internal extension class.