Issue #242 #254 Added docs for MIME type based template substitution.