Add support for the objects keyword argument

This an alternate way to generically pass objects into the constructor
using a keyword argument.

Fix #2