Remove dependency on Platform UI