Add an effect location method.