Created routine macros

Signed-off-by: Christian Gunderman <gundermanc@gmail.com>