match and extend method signatures from legacy api