Working on a better error handling system.