Tried to fix classloading issues when using a LAF.