Got rid of a few of the type mismatch warnings, but they're just warnings.