Using the context to compute default values