Added closeCursor wrapper
Added typed placeholders mechanism