Complete plain attachment implementation.