Change standalone deriving syntax and semantics; fixes trac #1481