Fix errors in strict mode

Declare constructors as static
Declare isset() on conditionals that check existence