Remove expensive substring.
Ctor code moved below all ctors.
Change a condition checking that a key is referencing a frame.

In current design we permit for inheriting from Frame class.
But Value#isFrame method is true only for Values holding direct
instance of Frame.
Hence, to permit different kinds of Frames (e.g., DataFrame) we need
to check also for Frame's subclasses.