Fixes issue with creating controller components.