Add demo of automatic value type conversion
Fix signature of templating log extensions
Error handling for when automatic type conversion fails.
Tests for value type conversion.