Moved the bean properties to constructor parameters.
Added the rest of the parameters to the constructor, too. This resolves #2.