Added realtest.register_dirt