added automatic vanity check on methods