Added Resource<> Functionality and made Object aware of it.