Add preset loading function.