Add option to call extract parameter so we can clip to document bounds