Closes #23: compatibility with viewPartialSource