Addind overload for using Require with a type