Compound type support and resolving comments