Allow setting properties after instantiation

I find it more readable to assign properties/methods after instantiation,
like so:

```
$stub = new s();
$stub->foo = 'bar';
$stub->callMe = function() {};
```

This commit allows doing just that.