Apply strict type checks to drawer functions