The metaphysics of opacity