Provided according to some embodiments of the invention are methods of manufacturing a pharmaceutical composition. In some embodiments, such methods include homogenizing at a first excipient composition that includes a viscosity agent and at least one solvent to form a first premix composition separately homogenizing at least one active pharmaceutical ingredient (API) and a second excipient composition to form a second premix composition and combining the first premix composition and the second premix composition to form the composition. The pre-mixing of constituents may increase the stability of the API and provide uniformity of the dispersion of the constituents throughout the final topical composition.