add declarations of typed methods