new method signature and add warnings

mathiasbynens/mothereff.in#29