Add an onEnable method to the objects

This allows for inter-object awareness when reading the settings, which
is required for the branches.