Added waf support.