Add attach callback to specified context, fix #1