Fixed problem with actions

Fixed problem with actions due to caption property being handled from
this class