Switched to this because it's much cleaner and works with multiple levels of inheritance. @Jerorfigan