Added typegintings for objects passed to methods