Added 'types' property (relates to #3).