Changed proto extending syntax.
Made global scope the default (at file level).
Renamed ref keyword to @assign.