Fixes 'unknown method: snippet'.