Fix wrong boolean type.
Fix wrong interface kind and context.