D.Core.Types: fix warnings