Issue calling callback when set as property of class