Add autoinitialization.