Fixing two warnings from my IDE.