I don't think we should accept non binaries through this function public interface. The public interface should only accept atoms and then we need to convert it to binaries and process it internally.