Finished initial version for Granada.