make it possible to have only one type of registration for embed