Improve exports and docs.