Refactor featured code in /discover.