Adding interface to control visibility programatically.