allow the user to log additional stuff in opt path by appending the 'extras' attribute to the target function values