Do length check on other component names as well.