Added reshape and squeeze methods.