Fix minivect for new function-module organization