More stack functions; effect table