Library for common macro methods