Clearing up some IntelliJ analysis errors