Add Interceptor#replace() for replacing functions