Fix some undeclared crap