Coding enhancements.

Fixed coded object structure, rolled in a few more bug fixes.