Fix Root Manager Bugs and finish example.