Started working on proper exceptions.