Added "implements" to gen-stubs.php

subj