Updated stubs
Updated methods to match stubs.php