Fixed postfix method usage warning.
Minor styling fixes.
Removed shutdown hook.