Finished the default attachment functionality.