Fixed regression in code samples