Confirm profile object is in correct form. Fixes #16