Removed derefs_mem()
Merge branch 'issue-61' into develop