Adding stacks API support.