Added cache clearing method generation.
Updated version number.