Adds stub mode