Refactored keysigs.
Refactored timesigs.