Prototype and node env cleanup.
Fixed metro prototype and lk.SubClass bug.