Add chat position API.
Remove security manager