Makes memory inherit from component