Store a reference to a plugin in a plugin element