Prevent infinite recursion in extension