Quickfixes for UNCHECKED_CAST and CANNOT_CHECK_FOR_ERASED