Changed order of init callbacks to execute apply_duck_types before calling 'init' because this caused problem with activation of features that relied on main feature's duck_type function