Fixed issue with MediaPath, changed getType to getMediaType, updated examples