Adding ability to generate a stub.