Fix a bug of demoting a root.
Replace NullPointerException with IllegalArgumentException
Add exception for multiple parents
Add handling of MultipleParentsException
Increase throughputs
Add validation against RDS
Fix failed unit test