Refactor/PEP8 base_recursive_model