Add require_stub solution for loading specs synchronously.