Need to compare correct type.