Prevent rendering multiple times
Introduced scope.nil(), improved parent resource handling