Move hiera to misc class