[TASK] Refactor logic which sets default value on inheritance to own method