Added missed type declaration and README