[INTERNAL] move last definitions from header file