Revert "remove local requires"

This reverts commit f8bd94b000a52a37309a12d01677fb8f29ba28a9.