Simplify custom-controls example