This is a synchronous function, it shouldn't take a callback.