Supports for real Boolean and Number Serialization, docs, and cleaned up code.