Implemented trailingTypeSpec
bugfix #5