You should use `goog.isDef(goog.object.get(context, 'featurePrefix'))` here. 'feature' (for the default feature prefix) should also be defined once as a constant instead of multiple times as a string literal.
Same in L378.