Either by setting the task attributes to protected or by publishing getter methods.
All of them? The attributes should not become protected, getters would be OK.
(In reply to comment #1) > All of them? Why not, yes. But especially the callee attribute.