Error saving VisualForce page

Trying to save a VisualForce page that loads a skuid page and getting this Error:

Deployment Failed
 FIELD_INTEGRITY_EXCEPTION - Dependent class is invalid and needs recompilation: skuid.Utils: line 87, column 40: Dependent class is invalid and needs recompilation: skuid.skuidinstallscript: line 346, column 19: sObject type 'Document' is not supported.: Markup

This is the page in question:

<apex:page standardController="Contact" extensions="skuid&#46;Redirects">
 <skuid:page page="PersonDetail" /> </apex:page> 

Anybody have any info on this?

Realized that the page was on API version 39.0, bumped it down to 36.0 and it deploys successfully