Implement connect method for element

Change-Id: I8fcb4314befeb731d25efe531607ffa111d75590