add enum as parameter direction, need provide plag for set/get properties