Blocks should inherit instance types.

When creating a block definition the `instance_type` attribute should inherit
its value from the outer scope instead of being fixed to `:instance`.