add signatures to snippets of d7 block hooks