Prevent use buildPipeForClass instead of forClass

This PR prevent developer call buildPipeForClass instead of forClass to create a Pipe instance