pyflakes.
Make sure, richtext values are treated correctly.
Treat richtext values properly.
Fix searchable text of basetypes.