Fix generation of package-scoped beans

Handle final on package-scoped beans
Fixes #86