Updated merge functions to use "as" keyword