Fixed bug in HardwarePool.

Class.getSimpleName() is not supported.