Add embedded structs support. Fixes #2.