Preliminary solution to gizmo library problem.