Added macro for function definitions and to linking to them.