Cleaned up documentation and exported error symbols.