Added history_class and parent_class util functions