Fixed issue #2

https://github.com/xamarin/component-template/issues/2

See the comments in issue #2