Fixing not being able to assign subtype to components #699