Fixed #228 and added a test for it.
Cleanup for #228.
Merge pull request #231 from trustmaster/master

Fixed #228
Fix for sync components #228
Merge pull request #232 from trustmaster/master

Fix for sync components #228