Remove impossible downcast