Replace Details declarations with DECLARE_HIDDEN_DETAILS macro