Use weakCaching on api methods.