Simplified handling of different object types (hist etc.) within figure class.