Add non-allocation interface

and fix a warning in doxygen