Restrict recursive depth to two levels.
Add license.