Added default fallback objects.
Check if the initialize function exists, if so return the content. if not return the object.
use getPackage instead of getComponent.