Make stack compilable