Added static instances and console code.