Added warnings, a bit of code cleanup.
Added method to get pre-finalized parsed object