Added interface for getting card and stack from model.