Adding lookup and replicate implementations.