Merged the two functions with same name, that appeared after rebase.