Move exceptions to the end of manager.py