Consolidating shared methods.