Fix parameter behaviour by using Javadoc rather than annotations to configure parameters.

Signed-off-by: Bob Hogg <hogg.bob.2@gmail.com>