Implement remove profile.

This closes #39.