Panel template properly instantiates the correct className