Publish method made non-generic (close #3)