I see that none of your APIs are asynchronous, so technically this is not necessary, however I still feel like it is a better implementation.