Custom Type names without space or "_" but with "-".

This is to comply with the stricter api.
No longer support ActiveResource 3.1.
Add guard to "activity_add_attachment_test".