Adjustment method common state initialisation and destruction

Signed-off-by: Mattias Andrée <maandree@operamail.com>