Changed the behavior of the get function because the static unique_ptr was causing funky behavior.