Adding required dependencies. Fixes #689. 

Filed #707 for the bigger picture.