I am trying to update Dimension API. All credit to Pudelhund, the original creator.