Two fixes for TypeBlocks:
  - Numbers take precedence when typing (typing 1 is now possible)
  - Change types accordingly when creating setters or getters for component
    properties

Change-Id: Ia07fdab8c814af9fbf72f52023ccec0d2264805a