Added more example blocks and fixed performance issue.