Updated saveMethod to include passed document context.