Nasty hack to get around numpy not cleaning up after itself.
This shouldn't be too bad when runing on a single thread, but it
will probably leak...
Added get_member and get_member_obj