ToObjects extension