Added #getMetadata() to MySQL engine. Converted all other methods to private.