Implement #to_a method
Add #detached? method