Made getNewItemClassName generic