Current state.

Compilation doesn't work while details of copy() method autogeneration
are getting sorted out.