Update generator template to add `:type` metadata by default

The generator templates need to be updated to add the `:type` metadata by default.