pointer 'ref' has no dedicated meaning anymore.

remove functionality create reference
add functionality create pointer