Added basic paste detection for #18