TypeError check needed sometimes.