Index: /veekun/trunk/lib/Vee/Schema/Types.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Types.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Types.pm (revision 350)
@@ -1,26 +1,36 @@
 package Vee::Schema::Types;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("types");
-__PACKAGE__->add_columns(
-  "name",
-  "abbr",
-  "color",
-  "rank",
-  "id",
-  "internalid",
-  "new_effects",
-  "old_effects",
-);
-__PACKAGE__->set_primary_key("name");
-__PACKAGE__->add_unique_constraint(["name"], undef);
+=head1 NAME
+
+Vee::Schema::Types - DBIC class for the C<types> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('types');
+__PACKAGE__->add_columns(qw/
+    name abbr color rank id internalid new_effects old_effects
+/);
+__PACKAGE__->set_primary_key('name');
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Abilities.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Abilities.pm (revision 109)
+++ /veekun/trunk/lib/Vee/Schema/Abilities.pm (revision 350)
@@ -1,20 +1,37 @@
 package Vee::Schema::Abilities;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("abilities");
-__PACKAGE__->add_columns("id", "name", "gameblurb", "effect");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Abilities - DBIC class for the C<abilities> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('abilities');
+__PACKAGE__->add_columns(qw/ id name gameblurb effect /);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->has_many(pokemon_abilities => 'Vee::Schema::PokemonAbilities', 'abilityid');
 __PACKAGE__->many_to_many(pokemon => 'pokemon_abilities', 'pokemon');
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Messages.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Messages.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Messages.pm (revision 350)
@@ -3,16 +3,35 @@
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("messages");
-__PACKAGE__->add_columns("id", "from_user_id", "to_user_id", "time", "subject", "message");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Messages - DBIC class for the C<messages> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('messages');
+__PACKAGE__->add_columns(qw/ id from_user_id to_user_id time subject message /);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->belongs_to(recipient => 'Vee::Schema::Users', 'to_user_id');
 __PACKAGE__->might_have(sender => 'Vee::Schema::Users', { 'foreign.id' => 'self.from_user_id' });
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/PokeMoves.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/PokeMoves.pm (revision 329)
+++ /veekun/trunk/lib/Vee/Schema/PokeMoves.pm (revision 350)
@@ -1,20 +1,38 @@
 package Vee::Schema::PokeMoves;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("pokemoves");
-__PACKAGE__->add_columns("pokeid", "moveid", "level", "version", "method");
+=head1 NAME
+
+Vee::Schema::PokeMoves - DBIC class for the C<pokemoves> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('pokemoves');
+__PACKAGE__->add_columns(qw/ pokeid moveid level version method /);
 
 __PACKAGE__->set_primary_key(qw/ pokeid moveid level version method /);
-__PACKAGE__->add_unique_constraint([qw[ pokeid moveid level version method ]], undef);
 
 __PACKAGE__->belongs_to(pokemon => 'Vee::Schema::Pokemon', 'pokeid');
 __PACKAGE__->belongs_to(move => 'Vee::Schema::Moves', 'moveid');
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
Index: /veekun/trunk/lib/Vee/Schema/UserPermissions.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/UserPermissions.pm (revision 260)
+++ /veekun/trunk/lib/Vee/Schema/UserPermissions.pm (revision 350)
@@ -1,16 +1,34 @@
 package Vee::Schema::UserPermissions;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("userpermissions");
-__PACKAGE__->add_columns("userid", "permission", "scope", "polarity");
-__PACKAGE__->set_primary_key("userid", "permission", "scope");
-__PACKAGE__->add_unique_constraint(["userid", "permission", "scope"], undef);
+=head1 NAME
+
+Vee::Schema::UserPermissions - DBIC class for the C<userpermissions> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('userpermissions');
+__PACKAGE__->add_columns(qw/ userid permission scope polarity /);
+__PACKAGE__->set_primary_key(qw/ userid permission scope /);
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
Index: /veekun/trunk/lib/Vee/Schema/Shoutbox.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Shoutbox.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Shoutbox.pm (revision 350)
@@ -1,19 +1,36 @@
 package Vee::Schema::Shoutbox;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("shoutbox");
-__PACKAGE__->add_columns("id", "name", "userid", "ip", "time", "message");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Shoutbox - DBIC class for the C<shoutbox> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('shoutbox');
+__PACKAGE__->add_columns(qw/ id name userid ip time message /);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->might_have(user => 'Vee::Schema::Users', { 'foreign.id' => 'self.userid' });
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/UserGroups.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/UserGroups.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/UserGroups.pm (revision 350)
@@ -1,21 +1,38 @@
 package Vee::Schema::UserGroups;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("usergroups");
-#CREATE TABLE usergroups (userid INT UNSIGNED NOT NULL, groupid TINYINT UNSIGNED NOT NULL, priority TINYINT UNSIGNED NOT NULL, PRIMARY KEY (userid, groupid, priority), INDEX (userid), INDEX (groupid));
-__PACKAGE__->add_columns("userid", "groupid", "priority");
-__PACKAGE__->set_primary_key("userid", "groupid", "priority");
-__PACKAGE__->add_unique_constraint(["userid", "groupid", "priority"], undef);
+=head1 NAME
+
+Vee::Schema::UserGroups - DBIC class for the C<usergroups> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('usergroups');
+__PACKAGE__->add_columns(qw/ userid groupid priority /);
+__PACKAGE__->set_primary_key(qw/ userid groupid priority /);
 
 __PACKAGE__->belongs_to(user => 'Vee::Schema::Users', 'userid');
-__PACKAGE__->belongs_to(group_hax => 'Vee::Schema::Groups', 'groupid');  # hack to get around problem with `` quoting  :(
+# Temporary hack to get around problem with `` quoting
+__PACKAGE__->belongs_to(group_hax => 'Vee::Schema::Groups', 'groupid');  
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Groups.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Groups.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Groups.pm (revision 350)
@@ -1,16 +1,18 @@
 package Vee::Schema::Groups;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("groups");
-__PACKAGE__->add_columns("id", "icon", "name");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Groups - DBIC class for the C<groups> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('groups');
+__PACKAGE__->add_columns(qw/ id icon name /);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->has_many(user_groups => 'Vee::Schema::UserGroups', 'groupid');
Index: /veekun/trunk/lib/Vee/Schema/ThreadViews.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/ThreadViews.pm (revision 287)
+++ /veekun/trunk/lib/Vee/Schema/ThreadViews.pm (revision 350)
@@ -3,12 +3,16 @@
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("thread_views");
+=head1 NAME
+
+Vee::Schema::ThreadViews - DBIC class for the C<thread_views> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('thread_views');
 __PACKAGE__->add_columns(qw/ thread_id user_id last_viewed /);
-__PACKAGE__->set_primary_key('thread_id', 'user_id');
-__PACKAGE__->add_unique_constraint(['thread_id', 'user_id'], undef);
+__PACKAGE__->set_primary_key(qw/ thread_id user_id /);
 
 __PACKAGE__->belongs_to(thread => 'Vee::Schema::Threads', 'thread_id', { join_type => 'LEFT' });
@@ -16,4 +20,19 @@
 # TODO: thread and user need to join to me!
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/GroupPermissions.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/GroupPermissions.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/GroupPermissions.pm (revision 350)
@@ -1,16 +1,18 @@
 package Vee::Schema::GroupPermissions;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("grouppermissions");
-__PACKAGE__->add_columns("groupid", "permission", "scope", "polarity");
-__PACKAGE__->set_primary_key("groupid", "permission", "scope");
-__PACKAGE__->add_unique_constraint(["groupid", "permission", "scope"], undef);
+=head1 NAME
+
+Vee::Schema::GroupPermissions - DBIC class for the C<grouppermissions> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('grouppermissions');
+__PACKAGE__->add_columns(qw/ groupid permission scope polarity /);
+__PACKAGE__->set_primary_key(qw/ groupid permission scope /);
 
 1;
Index: /veekun/trunk/lib/Vee/Schema/Moves.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Moves.pm (revision 148)
+++ /veekun/trunk/lib/Vee/Schema/Moves.pm (revision 350)
@@ -1,38 +1,40 @@
 package Vee::Schema::Moves;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("moves");
-__PACKAGE__->add_columns(
-  "id",
-  "name",
-  "name_jp",
-  "name_romaji",
-  "type",
-  "power",
-  "pp",
-  "acc",
-  "target",
-  "class",
-  "flags",
-  "combos",
-  "effect_chance",
-  "kind",
-  "status",
-  "move_effect_id",
-  "gameblurb",
-  "dpblurb",
-  "contype",
-  "coneffect",
-  "notes",
-);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Moves - DBIC class for the C<moves> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('moves');
+__PACKAGE__->add_columns(qw/
+    id
+    name
+    name_jp
+    name_romaji
+    type
+    power
+    pp
+    acc
+    target
+    class
+    flags
+    combos
+    effect_chance
+    kind
+    status
+    move_effect_id
+    gameblurb
+    dpblurb
+    contype
+    coneffect
+    notes
+/);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->belongs_to(contest => 'Vee::Schema::ContestMoves', 'coneffect');
@@ -40,5 +42,14 @@
 __PACKAGE__->has_many(pokemoves => 'Vee::Schema::PokeMoves', 'moveid');
 
-# Laziness to make %MoveData easier to use
+=head1 METHODS
+
+=head2 priority
+
+Returns the priority of the given move.  Only exists for consistency, as this
+is the only data commonly accessed via C<%MoveData> that is actually a column
+of C<move_effects>.
+
+=cut
+
 sub priority {
     my ($self) = @_;
@@ -46,5 +57,11 @@
 }
 
-# Shortcut to get a preformatted move description
+=head2 description
+
+Returns the full description for this move.  Applies C<_format_description>
+effects, and converts tab-delimited tables to HTML.
+
+=cut
+
 sub description {
     my ($self) = @_;
@@ -71,6 +88,15 @@
 }
 
-# Shortcut to get a preformatted short move description, defaulting to the long
-# one
+=head2 blurb
+
+Returns a short blurb for this move, suitable for putting in a move table.
+Applies C<_format_description> effects.
+
+If this move's move effect has no blurb, the full description will be used
+instead.  This should no longer happen, but was necessary for some degree of
+completion when the blurbs were still being written.
+
+=cut
+
 sub blurb {
     my ($self) = @_;
@@ -81,7 +107,11 @@
 }
 
-# PRIVATE
+=head2 _format_description($text)
 
-# Clean up a move description; currently just inserts effect chance.
+Inserts this move's effect chance and priority into the provided string, if
+applicable.  Used by C<description> and C<blurb>.
+
+=cut
+
 sub _format_description {
     my ($self, $text) = @_;
@@ -100,3 +130,19 @@
 }
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
Index: /veekun/trunk/lib/Vee/Schema/Threads.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Threads.pm (revision 298)
+++ /veekun/trunk/lib/Vee/Schema/Threads.pm (revision 350)
@@ -1,27 +1,20 @@
 package Vee::Schema::Threads;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "ResultSetManager", "Core");
-__PACKAGE__->table("threads");
-__PACKAGE__->add_columns(
-  "id",
-  "forumid",
-  "subject",
-  "blurb",
-  "firstpostid",
-  "lastpostid",
-  "lasttime",
-  "postct",
-  "hitct",
-  "flags",
-);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Threads - DBIC class for the C<threads> table
+
+=cut
+
+__PACKAGE__->load_components(qw/ ResultSetManager Core /);
+__PACKAGE__->table('threads');
+__PACKAGE__->add_columns(qw/
+  id forumid subject blurb firstpostid lastpostid lasttime postct hitct flags
+/);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->belongs_to(forum => 'Vee::Schema::Forums', 'forumid');
@@ -30,4 +23,12 @@
 __PACKAGE__->belongs_to(firstpost => 'Vee::Schema::Posts', 'firstpostid');
 __PACKAGE__->has_many(thread_views => 'Vee::Schema::ThreadViews', 'thread_id', { join_type => 'LEFT' });
+
+=head1 METHODS
+
+=head2 search_announcements
+
+Returns a resultset of all the threads flagged as announcements.
+
+=cut
 
 sub search_announcements : ResultSet {
@@ -39,4 +40,10 @@
     );
 }
+
+=head2 read_ids($user)
+
+Returns a list of all thread ids the given user has read.
+
+=cut
 
 sub read_ids : ResultSet {
@@ -52,4 +59,19 @@
 }
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Locations.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Locations.pm (revision 62)
+++ /veekun/trunk/lib/Vee/Schema/Locations.pm (revision 350)
@@ -1,18 +1,36 @@
 package Vee::Schema::Locations;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components(qw/ PK::Auto Core /);
+=head1 NAME
+
+Vee::Schema::Locations - DBIC class for the C<locations> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
 __PACKAGE__->table('locations');
 __PACKAGE__->add_columns(qw/ id internal_id generation name coordinates /);
 __PACKAGE__->set_primary_key('id');
-__PACKAGE__->add_unique_constraint(['id'], undef);
 
 __PACKAGE__->has_many(encounters => 'Vee::Schema::LocationEncounters', 'location_id');
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
Index: /veekun/trunk/lib/Vee/Schema/Berries.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Berries.pm (revision 212)
+++ /veekun/trunk/lib/Vee/Schema/Berries.pm (revision 350)
@@ -1,19 +1,36 @@
 package Vee::Schema::Berries;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("berries");
+=head1 NAME
+
+Vee::Schema::Berries - DBIC class for the C<berries> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('berries');
 __PACKAGE__->add_columns(qw/ id size firmness max_harvest growth_time soil_dryness spicy dry sweet bitter sour smoothness /);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->belongs_to(item => 'Vee::Schema::Items', { 'foreign.berry_id' => 'self.id' });
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/EvChains.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/EvChains.pm (revision 313)
+++ /veekun/trunk/lib/Vee/Schema/EvChains.pm (revision 350)
@@ -1,9 +1,6 @@
 package Vee::Schema::EvChains;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
@@ -15,19 +12,26 @@
 # only because that's not a real chain anyway.
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("evchains");
-__PACKAGE__->add_columns(
-  "id",
-  "base",
-  "growth",
-  "chain",
-  "steps",
-  "babygs",
-  "babyc",
-  "babyrusa",
-  "baby_item",
-);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::EvChains - DBIC class for the C<evchains> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('evchains');
+__PACKAGE__->add_columns(qw/
+    id
+    base
+    growth
+    chain
+    steps
+
+    babygs
+    babyc
+    babyrusa
+
+    baby_item
+/);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->has_many(pokemon => 'Vee::Schema::Pokemon', 'evid');
@@ -35,3 +39,19 @@
 __PACKAGE__->belongs_to(base_pokemon => 'Vee::Schema::Pokemon', 'base');
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
Index: /veekun/trunk/lib/Vee/Schema/MoveEffects.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/MoveEffects.pm (revision 145)
+++ /veekun/trunk/lib/Vee/Schema/MoveEffects.pm (revision 350)
@@ -1,23 +1,36 @@
 package Vee::Schema::MoveEffects;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("move_effects");
-__PACKAGE__->add_columns(
-  "id",
-  "priority",
-  "blurb",
-  "description",
-);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::MoveEffects - DBIC class for the C<move_effects> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('move_effects');
+__PACKAGE__->add_columns(qw/ id priority blurb description /);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->has_many(moves => 'Vee::Schema::Moves', 'move_effect_id');
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
Index: /veekun/trunk/lib/Vee/Schema/Sessions.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Sessions.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Sessions.pm (revision 350)
@@ -1,17 +1,34 @@
 package Vee::Schema::Sessions;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("sessions");
-__PACKAGE__->add_columns("id", "userid", "expires", "data");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Sessions - DBIC class for the C<sessions> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('sessions');
+__PACKAGE__->add_columns(qw/ id userid expires data /);
+__PACKAGE__->set_primary_key('id');
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Edits.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Edits.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Edits.pm (revision 350)
@@ -1,24 +1,37 @@
 package Vee::Schema::Edits;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("edits");
-__PACKAGE__->add_columns("id", "postid", "userid", "time", "oldmessage");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
 
-#__PACKAGE__->belongs_to(post => 'Vee::Schema::Posts', 'postid');
-#__PACKAGE__->belongs_to(user => 'Vee::Schema::Users', 'userid');
-# have to use might_have because more often than not there is no edit row for a post and that fucks everything up
+Vee::Schema::Edits - DBIC class for the C<edits> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('edits');
+__PACKAGE__->add_columns(qw/ id postid userid time oldmessage /);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->might_have(post => 'Vee::Schema::Posts', { 'foreign.id' => 'self.postid' });
 __PACKAGE__->might_have(user => 'Vee::Schema::Users', { 'foreign.id' => 'self.userid' });
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Pokemon.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Pokemon.pm (revision 329)
+++ /veekun/trunk/lib/Vee/Schema/Pokemon.pm (revision 350)
@@ -1,5 +1,3 @@
 package Vee::Schema::Pokemon;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
@@ -7,47 +5,57 @@
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("pokemon");
-__PACKAGE__->add_columns(
-  "id",
-  "id_johto",
-  "id_hoenn",
-  "id_sinnoh",
-  "name",
-  "alt_form",
-  "name_jp",
-  "name_romaji",
-  "evid",
-  "evparent",
-  "evmethod",
-  "evparam",
-  "height",
-  "weight",
-  "type1",
-  "type2",
-  "species",
-  "color",
-  "habitat",
-  "stat_at",
-  "stat_de",
-  "stat_sa",
-  "stat_sd",
-  "stat_sp",
-  "stat_hp",
-  "effort",
-  "oldgs",
-  "caprate",
-  "baseexp",
-  "gender",
-  "happiness",
-  "root",
-  "eventred",
-  "eventblue",
-  "notes",
-  "flags",
-  "real_id",
-);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Pokemon - DBIC class for the C<pokemon> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('pokemon');
+__PACKAGE__->add_columns(qw/
+    id
+    id_johto
+    id_hoenn
+    id_sinnoh
+
+    name
+    alt_form
+    name_jp
+    name_romaji
+
+    evid
+    evparent
+    evmethod
+    evparam
+
+    height
+    weight
+    type1
+    type2
+    species
+    color
+    habitat
+
+    stat_at
+    stat_de
+    stat_sa
+    stat_sd
+    stat_sp
+    stat_hp
+
+    effort
+    oldgs
+    caprate
+    baseexp
+    gender
+    happiness
+    root
+    eventred
+    eventblue
+    notes
+    flags
+    real_id
+/);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->belongs_to(evchain => 'Vee::Schema::EvChains', 'evid');
@@ -66,9 +74,12 @@
 __PACKAGE__->has_many(descendants => 'Vee::Schema::Pokemon', 'evparent');
 
-# I am really tired of how many different ways breeding groups are used, so
-# here are some subs to clean it up.
-# TODO: pod, for this and every other schema class.  restyle them all really, or look into autoload
+=head1 METHODS
 
-# true if the Pokemon can breed at all (i.e. no F groups)
+=head2 can_breed
+
+Returns true if this Pokemon can breed, false otherwise.
+
+=cut
+
 sub can_breed {
     my ($self) = @_;
@@ -77,5 +88,11 @@
 }
 
-# return just a flat list of breeding groups; TODO: rename this 'breeds' and rename the above join
+=head2 can_breed
+
+Returns a list of egg group codes.
+
+=cut
+
+# TODO: rename this 'breeds' and rename the above join
 sub breeding_groups {
     my ($self) = @_;
@@ -83,5 +100,10 @@
 }
 
-# recreate original breeding code; just hex listed in ascending order
+=head2 can_breed
+
+Returns the in-game breeding code for this Pokemon.
+
+=cut
+
 sub breeding_code {
     my ($self) = @_;
@@ -92,16 +114,38 @@
 }
 
-# returns true iff this Pokemon has a breeding group in common with the given other Pokemon
+=head2 can_breed_with($pokemon)
+
+Returns true if this Pokemon can breed with the given Pokemon, false otherwise.
+
+=cut
+
 sub can_breed_with {
     my ($poke1, $poke2) = @_;
     my %breeds;
 
-    # breeds cannot appear twice due to keying, so this is guaranteed to work
+    # Egg groups cannot appear twice due to keying, so this is guaranteed to
+    # work
     $breeds{$_}++ for $poke1->breeding_groups, $poke2->breeding_groups;
     delete $breeds{15};
 
-    # compatible if at least one breed appears twice
+    # Compatible if at least one egg group appears twice
     return grep { $_ > 1 } values %breeds;
 }
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
Index: /veekun/trunk/lib/Vee/Schema/Posts.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Posts.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Posts.pm (revision 350)
@@ -1,16 +1,18 @@
 package Vee::Schema::Posts;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("posts");
-__PACKAGE__->add_columns("id", "threadid", "userid", "flags", "time", "format", "message", "lasteditid");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Posts - DBIC class for the C<posts> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('posts');
+__PACKAGE__->add_columns(qw/ id threadid userid flags time format message lasteditid /);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->belongs_to(thread => 'Vee::Schema::Threads', 'threadid');
@@ -19,4 +21,19 @@
 __PACKAGE__->might_have(lastedit => 'Vee::Schema::Edits', { 'foreign.id' => 'self.lasteditid' });
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/PokemonItems.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/PokemonItems.pm (revision 222)
+++ /veekun/trunk/lib/Vee/Schema/PokemonItems.pm (revision 350)
@@ -1,20 +1,37 @@
 package Vee::Schema::PokemonItems;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("pokemon_items");
+=head1 NAME
+
+Vee::Schema::PokemonItems - DBIC class for the C<pokemon_items> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('pokemon_items');
 __PACKAGE__->add_columns(qw/ pokemon_id item_id rarity /);
-__PACKAGE__->set_primary_key('pokemon_id', 'item_id');
-__PACKAGE__->add_unique_constraint(['pokemon_id', 'item_id'], undef);
+__PACKAGE__->set_primary_key(qw/ pokemon_id item_id /);
 
 __PACKAGE__->belongs_to(pokemon => 'Vee::Schema::Pokemon', 'pokemon_id', { join_type => 'LEFT' });
 __PACKAGE__->belongs_to(item => 'Vee::Schema::Items', 'item_id', { join_type => 'LEFT' });
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Forums.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Forums.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Forums.pm (revision 350)
@@ -1,20 +1,39 @@
 package Vee::Schema::Forums;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("forums");
-__PACKAGE__->add_columns("id", "name", "lastpostid", "threadct", "postct", "flags", "accessibility", "blurb");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Forums - DBIC class for the C<forums> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('forums');
+__PACKAGE__->add_columns(qw/
+    id name lastpostid threadct postct flags accessibility blurb
+/);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->has_many(threads => 'Vee::Schema::Threads', 'forumid');
 __PACKAGE__->might_have(lastpost => 'Vee::Schema::Posts', { 'foreign.id' => 'self.lastpostid' });
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Permissions.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Permissions.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Permissions.pm (revision 350)
@@ -1,17 +1,34 @@
 package Vee::Schema::Permissions;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("permissions");
-__PACKAGE__->add_columns("groupid", "permission", "scope", "polarity");
-__PACKAGE__->set_primary_key("groupid", "permission", "scope", "polarity");
-__PACKAGE__->add_unique_constraint(["groupid", "permission", "scope", "polarity"], undef);
+=head1 NAME
+
+Vee::Schema::Permissions - DBIC class for the C<permissions> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('permissions');
+__PACKAGE__->add_columns(qw/ groupid permission scope polarity /);
+__PACKAGE__->set_primary_key(qw/ groupid permission scope polarity /);
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/LocationEncounters.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/LocationEncounters.pm (revision 109)
+++ /veekun/trunk/lib/Vee/Schema/LocationEncounters.pm (revision 350)
@@ -3,17 +3,29 @@
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components(qw/ PK::Auto Core /);
+=head1 NAME
+
+Vee::Schema::LocationEncounters - DBIC class for the C<location_encounters> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
 __PACKAGE__->table('location_encounters');
 __PACKAGE__->add_columns(qw/ location_id rarity version section pokemon_id method min_level max_level /);
-__PACKAGE__->set_primary_key('location_id', 'rarity');
-__PACKAGE__->add_unique_constraint(['location_id', 'rarity'], undef);
+__PACKAGE__->set_primary_key(qw/ location_id rarity /);
 
 __PACKAGE__->belongs_to(pokemon => 'Vee::Schema::Pokemon', 'pokemon_id');
 __PACKAGE__->belongs_to(location => 'Vee::Schema::Locations', 'location_id');
 
-# what can I say?  I'm lazy
+=head1 METHODS
+
+=head2 level
+
+Returns this encounter's level range formatted in a human-readable way, i.e.
+"A - B", or just "A" if the range is actually just one level.
+
+=cut
+
 sub level {
     my ($self) = @_;
@@ -31,3 +43,19 @@
 }
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
Index: /veekun/trunk/lib/Vee/Schema/Items.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Items.pm (revision 315)
+++ /veekun/trunk/lib/Vee/Schema/Items.pm (revision 350)
@@ -1,16 +1,18 @@
 package Vee::Schema::Items;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("items");
+=head1 NAME
+
+Vee::Schema::Items - DBIC class for the C<items> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('items');
 __PACKAGE__->add_columns(qw/ id game_id berry_id name category cost col5 hp_plus_maybe fling_power fling_effect natural_gift_power natural_gift_type col12 col13 col14 col15 col16 col17 col18 col19 col20 col21 col22 col23 effort_hp effort_at effort_de effort_sp effort_sa effort_sd hp_restored pp_restored happiness1 happiness2 happiness3 is_underground dpblurb description /);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+__PACKAGE__->set_primary_key('id');
 
 __PACKAGE__->has_many(pokemon_items => 'Vee::Schema::PokemonItems', 'item_id', { join_type => 'left' });
@@ -18,4 +20,14 @@
 
 __PACKAGE__->might_have(berry => 'Vee::Schema::Berries', { 'foreign.id' => 'self.berry_id' });
+
+=head1 METHODS
+
+=head2 display_name
+
+Returns this item's name, suitable for display.  This method actually just
+replaces 'Poke' with 'Pok&eacute;', as the database is not currently designed
+for Unicode.
+
+=cut
 
 sub display_name {
@@ -26,4 +38,10 @@
     return $name;
 }
+
+=head2 display_name
+
+Returns the filename (sans extension) for this item's sprite.
+
+=cut
 
 sub sprite_name {
@@ -39,4 +57,10 @@
 }
 
+=head2 fling_description
+
+Returns the effect this item will cause when Fling is used with it.
+
+=cut
+
 sub fling_description {
     my ($self) = @_;
@@ -51,4 +75,19 @@
 }
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Creators.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Creators.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Creators.pm (revision 350)
@@ -1,19 +1,35 @@
 package Vee::Schema::Creators;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("creators");
-__PACKAGE__->add_columns("id", "userid", "name", "itemct");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint("userid", ["userid"]);
-__PACKAGE__->add_unique_constraint(["userid"], undef);
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Creators - DBIC class for the C<creators> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('creators');
+__PACKAGE__->add_columns(qw/ id userid name itemct /);
+__PACKAGE__->set_primary_key('id');
+__PACKAGE__->add_unique_constraint(userid => ['userid']);
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/ItemKeywords.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/ItemKeywords.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/ItemKeywords.pm (revision 350)
@@ -1,17 +1,34 @@
 package Vee::Schema::ItemKeywords;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("itemkeywords");
-__PACKAGE__->add_columns("itemid", "keywordid");
-__PACKAGE__->set_primary_key("itemid", "keywordid");
-__PACKAGE__->add_unique_constraint(["itemid", "keywordid"], undef);
+=head1 NAME
+
+Vee::Schema::ItemKeywords - DBIC class for the C<itemkeywords> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('itemkeywords');
+__PACKAGE__->add_columns(qw/ itemid keywordid /);
+__PACKAGE__->set_primary_key(qw/ itemid keywordid /);
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/GalleryKeywords.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/GalleryKeywords.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/GalleryKeywords.pm (revision 350)
@@ -1,19 +1,35 @@
 package Vee::Schema::GalleryKeywords;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("gallerykeywords");
-__PACKAGE__->add_columns("id", "keyword", "category", "description");
-__PACKAGE__->set_primary_key("id");
+=head1 NAME
+
+Vee::Schema::GalleryKeywords - DBIC class for the C<gallerykeywords> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('gallerykeywords');
+__PACKAGE__->add_columns(qw/ id keyword category description /);
+__PACKAGE__->set_primary_key('id');
 __PACKAGE__->add_unique_constraint("keyword", ["keyword"]);
-__PACKAGE__->add_unique_constraint(["keyword"], undef);
-__PACKAGE__->add_unique_constraint(["id"], undef);
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Machines.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Machines.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Machines.pm (revision 350)
@@ -1,17 +1,34 @@
 package Vee::Schema::Machines;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("machines");
-__PACKAGE__->add_columns("id", "generation", "cost", "moveid", "location");
-__PACKAGE__->set_primary_key("id", "generation");
-__PACKAGE__->add_unique_constraint(["id", "generation"], undef);
+=head1 NAME
+
+Vee::Schema::Machines - DBIC class for the C<machines> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('machines');
+__PACKAGE__->add_columns(qw/ id generation cost moveid location /);
+__PACKAGE__->set_primary_key(qw/ id generation /);
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/ContestMoves.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/ContestMoves.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/ContestMoves.pm (revision 350)
@@ -1,17 +1,34 @@
 package Vee::Schema::ContestMoves;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("contestmoves");
-__PACKAGE__->add_columns("id", "appeal", "jam", "description", "effect");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::ContestMoves - DBIC class for the C<contestmoves> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('contestmoves');
+__PACKAGE__->add_columns(qw/ id appeal jam description effect /);
+__PACKAGE__->set_primary_key('id');
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/ErrorLog.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/ErrorLog.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/ErrorLog.pm (revision 350)
@@ -1,16 +1,34 @@
 package Vee::Schema::ErrorLog;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("errorlog");
-__PACKAGE__->add_columns("id", "time", "userid", "ip", "path", "method", "query", "error");
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::ErrorLog - DBIC class for the C<errorlog> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('errorlog');
+__PACKAGE__->add_columns(qw/ id time userid ip path method query error /);
+__PACKAGE__->set_primary_key('id');
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
Index: /veekun/trunk/lib/Vee/Schema/PokemonBreeds.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/PokemonBreeds.pm (revision 48)
+++ /veekun/trunk/lib/Vee/Schema/PokemonBreeds.pm (revision 350)
@@ -1,19 +1,36 @@
 package Vee::Schema::PokemonBreeds;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("pokemon_breeds");
+=head1 NAME
+
+Vee::Schema::PokemonBreeds - DBIC class for the C<pokemon_breeds> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('pokemon_breeds');
 __PACKAGE__->add_columns(qw/ pokeid breed /);
-__PACKAGE__->set_primary_key('pokeid', 'breed');
-__PACKAGE__->add_unique_constraint(['pokeid', 'breed'], undef);
+__PACKAGE__->set_primary_key(qw/ pokeid breed /);
 
 __PACKAGE__->belongs_to(pokemon => 'Vee::Schema::Pokemon', 'pokeid');
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/PokemonAbilities.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/PokemonAbilities.pm (revision 306)
+++ /veekun/trunk/lib/Vee/Schema/PokemonAbilities.pm (revision 350)
@@ -1,20 +1,37 @@
 package Vee::Schema::PokemonAbilities;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("pokemon_abilities");
+=head1 NAME
+
+Vee::Schema::PokemonAbilities - DBIC class for the C<pokemon_abilities> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('pokemon_abilities');
 __PACKAGE__->add_columns(qw/ pokeid abilityid slot /);
-__PACKAGE__->set_primary_key('pokeid', 'abilityid');
-__PACKAGE__->add_unique_constraint(['pokeid', 'abilityid'], undef);
+__PACKAGE__->set_primary_key(qw/ pokeid abilityid /);
 
 __PACKAGE__->belongs_to(pokemon => 'Vee::Schema::Pokemon', 'pokeid');
 __PACKAGE__->belongs_to(ability => 'Vee::Schema::Abilities', 'abilityid');
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/FlavorText.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/FlavorText.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/FlavorText.pm (revision 350)
@@ -3,12 +3,33 @@
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("flavortext");
-__PACKAGE__->add_columns("pokeid", "generation", "text");
+=head1 NAME
+
+Vee::Schema::FlavorText - DBIC class for the C<flavortext> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('flavortext');
+__PACKAGE__->add_columns(qw/ pokeid generation text /);
 
 __PACKAGE__->belongs_to(pokemon => 'Vee::Schema::Pokemon', 'pokeid');
 
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
+
 1;
Index: /veekun/trunk/lib/Vee/Schema/Gallery.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Gallery.pm (revision 31)
+++ /veekun/trunk/lib/Vee/Schema/Gallery.pm (revision 350)
@@ -1,34 +1,50 @@
 package Vee::Schema::Gallery;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("gallery");
-__PACKAGE__->add_columns(
-  "id",
-  "creatorid",
-  "filename",
-  "uploaderid",
-  "approverid",
-  "time",
-  "hash",
-  "title",
-  "description",
-  "height",
-  "width",
-  "seriesid",
-  "position",
-  "type",
-);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint("filename", ["filename"]);
-__PACKAGE__->add_unique_constraint(["filename"], undef);
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Gallery - DBIC class for the C<gallery> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('gallery');
+__PACKAGE__->add_columns(qw/
+    id
+    creatorid
+    filename
+    uploaderid
+    approverid
+    time
+    hash
+    title
+    description
+    height
+    width
+    seriesid
+    position
+    type
+/);
+__PACKAGE__->set_primary_key('id');
+__PACKAGE__->add_unique_constraint(filename => ['filename']);
+
+=head1 SEE ALSO
+
+L<Vee::Schema>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)
+
+See the included F<AUTHORS> file for a full list of contributers.
+
+=head1 LICENSE
+
+See the included F<LICENSE> file.
+
+=cut
 
 1;
-
Index: /veekun/trunk/lib/Vee/Schema/Users.pm
===================================================================
--- /veekun/trunk/lib/Vee/Schema/Users.pm (revision 330)
+++ /veekun/trunk/lib/Vee/Schema/Users.pm (revision 350)
@@ -1,40 +1,41 @@
 package Vee::Schema::Users;
-
-# Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-11 01:54:10
 
 use strict;
 use warnings;
-
 use base 'DBIx::Class';
 
-__PACKAGE__->load_components("PK::Auto", "Core");
-__PACKAGE__->table("users");
-__PACKAGE__->add_columns(
-  "id",
-  "name",
-  "password",
-  "joindate",
-  "lastactive",
-  "thread_view_cutoff",
-  "postct",
-  "flags",
-  "newspic",
-  "avatar",
-  "contact_aim",
-  "contact_icq",
-  "contact_msn",
-  "contact_yim",
-  "contact_lj",
-  "contact_homepage",
-  "contact_email",
-  "pmicon",
-  "customtitle",
-  "signature",
-  "is_dumb",
-);
-__PACKAGE__->set_primary_key("id");
-__PACKAGE__->add_unique_constraint("NAME", ["name"]);
-__PACKAGE__->add_unique_constraint(["name"], undef);
-__PACKAGE__->add_unique_constraint(["id"], undef);
+=head1 NAME
+
+Vee::Schema::Users - DBIC class for the C<users> table
+
+=cut
+
+__PACKAGE__->load_components('Core');
+__PACKAGE__->table('users');
+__PACKAGE__->add_columns(qw/
+    id
+    name
+    password
+    joindate
+    lastactive
+    thread_view_cutoff
+    postct
+    flags
+    newspic
+    avatar
+    contact_aim
+    contact_icq
+    contact_msn
+    contact_yim
+    contact_lj
+    contact_homepage
+    contact_email
+    pmicon
+    customtitle
+    signature
+    is_dumb
+/);
+__PACKAGE__->set_primary_key('id');
+__PACKAGE__->add_unique_constraint(name => ['name']);
 
 __PACKAGE__->has_many(posts => 'Vee::Schema::Posts', 'userid');
@@ -44,5 +45,6 @@
 __PACKAGE__->has_many(received_messages => 'Vee::Schema::Messages', 'to_user_id');
 __PACKAGE__->has_many(thread_views => 'Vee::Schema::ThreadViews', 'thread_id');
-__PACKAGE__->many_to_many('groups' => 'user_groups', 'group_hax');  # hack to get around problem with `` quoting  :(
+# Temporary hack to get around problem with `` quoting
+__PACKAGE__->many_to_many('groups' => 'user_groups', 'group_hax');
 
 1;
