Add factory methods to create from pointers indexers with proper `release()` methods