Restructured code samples