Add profile writing capabilities for sampling profiles.