To counteract type erasure.