Everything works with registration and with mapping to one class fields