Fixed some warnings after previous commit.