Changed postfix operators to prefix wherever possible.