refactor: extracting util methods to `FrameworkUtils`