Revert "Clear custom code"

This reverts commit c7549378cb0eefec624371787f0e29efd9dcacb3.