Changed back passing RefCountPtr arguments by value

Signed-off-by: makulik <g-makulik@t-online.de>