What if something links to your library and wants to control what it does with its functionality? You shouldn't try to be smarter than the developer who will use your code. Let him/her decide what to pass as the parent.