Removed lingering and undeclared runtime warnings