Add autoload cookies.

Signed-off-by: Michael Markert <markert.michael@googlemail.com>