This className function is not being used anywhere as far as I see from the code. Is it really necessary?