added registerView api.