Adds documentation and kwargs

@petebrowne