Added sample codes.