Make partial document support optional