Don't upload matrices outside classes