Some edits by Basilis.