Add final keyword to SharedState were applicable