Define macros for the method name and signature.

Signed-off-by: Kaushik Srenevasan <kaushik@twitter.com>