Publish method made non-generic (close #2)