Imported code for custom client context sample