withWhitelisted

Helper method to return a new context based on this context with the given class specifically whitelisted.