Allow setting the ViewDelegate through XML. #154