Added export macros for python wrapping