Formatted source to use spaces instead of tabs and added signal classes.