Don't need assertion on bad type, just return NULL