Fixed issue w/ crashing on invalid definitions