Check for class before initialising
Make methods static
Revert to previous list element as parent if not parent found