Add Energy class.