Fixed minor errors introduced by IntelliJ IDEA.