Fix compile and do not use pose callback.