Fixed function/object/classname flex defs
Signed-off-by: Rack Lin <racklin@gmail.com>