Consolidate error handling
Give CodeObjects names