Eclipse Fix.
Nested case class conversion with nice error messages.

Review by @gzm0 @hubertp