Add use-case generator and basic exception handling.