Change type on createComponents