Also adds detach methods

Do not need to name methods, they are very clearly named and the code speaksfor itself.