Handle dtypes which are not actual NumPy dtypes (Issue #165)