[doc] Move class definition to the correct section