Added handling for defaultbeans.
LinkCreator and templatefactory are defaultbeans now.