mvc: Fixes: wrong and weird class function signatures and MODEL_FILE_TREE_CLASS erroneous double construction.