Added custom controls example code.