Make Dim public to fix compilation