Without a filter parameter, this will fetch all node types from the backend.
It is no problem to call this method with null as name, it will remember
once it fetched all node types and do nothing after that.
On fetch all, already cached node types are kept.