Guard against string element in callAttachHook
Prepare 3.0.1 release