Add defsink.
Add macros, defsink and defsource