This docstring describes what the method does, but I'm not entirely sure why it's worth having. Can you document what it means to "pass entity type"?