Its a common pitfall for more inexperienced devs and I think its just a symptom of the language conventions.
Everyone is taught genservers with a client-side API existing inside the same module as handle_ functions and it blurs the distiction some.
I think if the convention was to create a separate module to implement the client-side convenience functions then the client-server split would be more obvious.