removed ordering from Meta classes, added support for after and before attributes